const Router = require('koa-router')
const PersonalCircleCon = require('../controller/personalCircle/personalCircleCon')

const personalCircleRouter = new Router()

// 查询
personalCircleRouter.post('/inquirePersonalCircleList', PersonalCircleCon.inquirePersonalCircleList)
//添加
personalCircleRouter.post('/addPersonalCircle', PersonalCircleCon.addPersonalCircle)
// 添加图片
personalCircleRouter.post('/addPersonalCircleImg', PersonalCircleCon.addPersonalCircleImg)
//添加视频
personalCircleRouter.post('/addPersonalCircleVideo', PersonalCircleCon.addPersonalCircleVideo)
//删除
personalCircleRouter.post('/delPersonalCircle', PersonalCircleCon.delPersonalCircle)
//修改
personalCircleRouter.post('/updatePersonalCircle', PersonalCircleCon.updatePersonalCircle)
//修改状态
personalCircleRouter.post('/updatePersonalCircleStatus', PersonalCircleCon.updatePersonalCircleStatus)
//按照日期降序查询所以
personalCircleRouter.post('/inquirePersonalCircleDateList', PersonalCircleCon.inquirePersonalCircleDateList)


module.exports = personalCircleRouter
